package com.xcity.game.battle.pve.template;

import naga.x.game.template.Template;
import naga.x.game.template.TemplateException;
import naga.x.game.template.annotation.Excel;

/**
 * 资源副本类型
 * @author shipeng.zhu
 *
 */
@Excel(value = "resstage.xlsx", sheetName = "资源副本类型")
public class ResStageTypeTemplate extends Template {

	/** 标题名 */
	protected String name;

	/** 背景图片 */
	protected String img;

	/** 最大挑战次数 */
	protected int maxCount;
	
	/** 开放等级 */
	protected int levelLimit;
	
	/** 消耗体力 */
	protected int cost;
	
	/** 可能掉落的物品 */
	protected int[] showItem;
	
	public static int SIZE = 0;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public int getMaxCount() {
		return maxCount;
	}

	public void setMaxCount(int maxCount) {
		this.maxCount = maxCount;
	}

	public int[] getShowItem() {
		return showItem;
	}

	public void setShowItem(int[] showItem) {
		this.showItem = showItem;
	}

	public int getLevelLimit() {
		return levelLimit;
	}

	public void setLevelLimit(int levelLimit) {
		this.levelLimit = levelLimit;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	@Override
	public void validate() throws TemplateException {
		++SIZE;
	}
}
